package com.gk.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gk.chat.pojo.Users;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UsersMapper extends BaseMapper<Users> {

    @Select("SELECT * FROM users WHERE mobile=#{mobile}")
    public Users selectByMobile(String mobile);
}
